package com.sjh.test.java8.lambda;

public class LambdaCustomDemo {

    public static void main(String args[])
    {
        Calculator cal = (n1,n2) -> n1 + n2;
        System.out.println(cal.add(5,8));
    }

    public interface Calculator {

        public int add(int n1, int n2);
    }

}
